package asso.onetomore;

import java.util.List;

public class Mum {
	private int mId;
	private String mName;
	
	// 一个妈对应多个孩子,通过妈查询孩子们
	private List<Children> children;

	public int getmId() {
		return mId;
	}

	public void setmId(int mId) {
		this.mId = mId;
	}

	public String getmName() {
		return mName;
	}

	public void setmName(String mName) {
		this.mName = mName;
	}

	public List<Children> getChildren() {
		return children;
	}

	public void setChildren(List<Children> children) {
		this.children = children;
	}

	@Override
	public String toString() {
		return "Mum [mId=" + mId + ", mName=" + mName + ", children=" + children + "]";
	}
	
}
